public class Computer {
    private String cpuModel;
    private int ramSize;
    private int hddSize;

    public Computer(String cpuModel, int ramSize, int hddSize) {
        this.cpuModel = cpuModel;
        this.ramSize = ramSize;
        this.hddSize = hddSize;
    }

    // Getter 方法
    public String getCpuModel() {
        return cpuModel;
    }

    public int getRamSize() {
        return ramSize;
    }

    public int getHddSize() {
        return hddSize;
    }

    // 打印电脑配置
    public void printConfiguration() {
        System.out.println("CPU Model: " + cpuModel);
        System.out.println("RAM Size: " + ramSize + " GB");
        System.out.println("HDD Size: " + hddSize + " GB");
    }
}

